package example.method.p15;

/**
 * @author 17976
 */
public class Main {
    static void vaTest(int ... no){
        System.out.print("vaTest(int ...) :"+ "参数个数: " + no.length +" 内容: ");
        for(int n:no){
            System.out.print(n + " ");
            System.out.println();
        }
    }
    static void vaTest(boolean ... b1){
        System.out.print("vaTest(String,int ...) :"+ "参数个数: " + b1.length +" 内容: ");
        for(boolean b:b1){
            System.out.print(b + " ");
            System.out.println();
        }
    }
    static void vaTest(String msg,int ... no){
        System.out.print("vaTest(String,int ...) :"+ "参数个数: " + no.length +" 内容: ");
        for(int n:no){
            System.out.print(n + " ");
            System.out.println();
        }
    }

    public static void main(String[] args) {
        vaTest(1,2,3);
        vaTest("测试：",10,20);
        vaTest(true,false,false);
    }

}
